package com.buybuyyi.stylistcrm.resource.goods.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.dao.GoodsClassIficationsDao;
import com.buybuyyi.stylistcrm.resource.goods.mapper.GoodsClassIficationsMapper;
import com.buybuyyi.stylistcrm.resource.goods.po.GoodsClassIfications;

@Repository
public class GoodsClassIficationsDaoImpl implements  GoodsClassIficationsDao {
	
	@Autowired
	private GoodsClassIficationsMapper goodsClassIficationsMapper;

	@Override
	public int deleteByPrimaryKey(Long id) {
		return goodsClassIficationsMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(GoodsClassIfications record) {
		return goodsClassIficationsMapper.insert(record);
	}

	@Override
	public int insertSelective(GoodsClassIfications record) {
		return goodsClassIficationsMapper.insertSelective(record);
	}

	@Override
	public GoodsClassIfications selectByPrimaryKey(Long id) {
		return goodsClassIficationsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(GoodsClassIfications record) {
		return goodsClassIficationsMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(GoodsClassIfications record) {
		return goodsClassIficationsMapper.updateByPrimaryKey(record);
	}
	
	
}